package two;

public class test
{
	public static void main(String[] args) {
		Dog dog = new Dog();
		dog.getAnimalName();
		Cat cat = new Cat();
		cat.getAnimalName();
		Simulator s1=new Simulator();
		Simulator s2=new Simulator();
		s1.playSound(dog);
		s2.playSound(cat);
	}
}
